package models

import "gorm.io/gorm"

type Collection struct {
	gorm.Model
	UserId  int `gorm:"type:int(11)"`
	VideoId int `gorm:"type:int(11)"`
}

func (c *Collection) CollectionAdd(db *gorm.DB) error {
	return db.Debug().Create(c).Error
}
